import React from "react";
import { BaseLayoutIndex } from "../constants";
import { RouteObject } from "../types/router";
// 用户中心模块
const baseRouter: Array<RouteObject> = [
	{
		path: "/",
		element: <BaseLayoutIndex />,
		children: [
			{
				path: "/userCenter",
				component: () => import("@/pages/base/userCenter"),
				meta: {
					requiresAuth: false,
					title: "个人中心",
					key: "userCenter"
				}
			}
		]
	}
];

export default baseRouter;
